package com.nativetalk.dao;

import com.nativetalk.base.Page;
import com.nativetalk.bean.TdNtLiveComment;
import com.nativetalk.bean.comment.TdNtLiveCommentList;

import java.util.List;

/**
 * Created by lizhun on 15/12/24.
 */
@MyBatisRepository
public interface TdNtLiveCommentDao {
    /**
     * @Purpose  添加直播评论
     * @version  3.3
     * @author   lizhun
     * @param    tdNtLiveComment
     * @return   void
     */
    public void insertTdNtLiveComment(TdNtLiveComment tdNtLiveComment);
    /**
     * @Purpose  查找直播评论数量
     * @version  3.3
     * @author   lizhun
     * @param    page
     * @return   int
     */
    public int findTdNtLiveCommentByLiveHisIdSize(Page page);
    /**
     * @Purpose  分页查找直播评论
     * @version  3.3
     * @author   lizhun
     * @param    page
     * @return   List<TdNtLiveCommentList>
     */
    public List<TdNtLiveCommentList> findTdNtLiveCommentByLiveHisIdPage(Page page);
}
